import Mock from "mockjs";
// 右侧上方数据
class UserDate {
    getData() {
        return Promise.resolve(Mock.mock({
            'data|20': [{
                'id|+1': 1,
                'num|202112103122-202202140934': 202112103122,
                'time': '@DATETIME("yyyy-MM-dd")',
                'money|50-300': 50,
                pay: '@ctitle(3)',
                state: '@ctitle(3)',
            }]
        }))
    }
}

const userDate = new UserDate();

export default userDate;